from litemall_0805.frame.pages.base_page import BasePage
from selenium.webdriver.common.by import By


class HomePage(BasePage):
    """
    实现左侧一级菜单的点击
    """
    def click_mall_manage(self):
        #点击商场管理菜单一级菜单
        self.do_click(By.XPATH, "//*[text()='商场管理']")

        from litemall_0805.frame.pages.mall_manage.click_mall_menu import ClickMallMenu
        return ClickMallMenu(self.driver)
